-- GENERATED SPELL FOR [Biletoad] --


function spell0_3835(pUnit, Event) --@Biletoad Infection,n/a--
pUnit:FullCastSpellOnTarget(10251,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3835', 547, 1)
end

function Sorts_3835(pUnit, Event)
local choix_sorts_3835 = math.random(0, 0)
if choix_sorts_3835 == 0 then
pUnit:RegisterEvent('spell0_3835', 1, 1)
end
end

function mob3835_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3835', math.random(1500, 3000), 1)
end

function mob3835_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3835_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3835_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3835, 1, 'mob3835_Action')
RegisterUnitEvent(3835, 2, 'mob3835_Leave')
RegisterUnitEvent(3835, 3, 'mob3835_Kill')
RegisterUnitEvent(3835, 4, 'mob3835_Die')
